package com.ship.dispatch.bean.fob;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.common.core.base.Joinable;
import com.ship.common.core.mapping.Label;
import com.ship.common.core.mapping.TableColumn;
import com.ship.dispatch.annotation.ModifiableField;
import lombok.Data;

import java.util.Date;

/**
 * 购买租船人责任险
 */
@Data
@TableName("sp_fob_sublease_insure")
public class SpFobSubleaseInsure extends SpFobBaseBean implements Joinable {
    @TableColumn
    private String conId;
    @TableColumn
    private String conName;
    @TableColumn
    @ModifiableField(name = "保单")
    @Label(value = "保单")
    private String insureFile;
    @ModifiableField(name = "生效开始时间")
    @Label(value = "生效开始时间")
    @TableColumn
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @ModifiableField(name = "生效结束时间")
    @Label(value = "生效结束时间")
    @TableColumn
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    @TableColumn
    @ModifiableField(name = "保险限额")
    @Label(value = "保险限额")
    private String insureMoney;
    @TableColumn
    @ModifiableField(name = "备注")
    @Label(value = "备注")
    private String remark;
    @Override
    public String getLabel() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }
}
